std::ios_base::register_callback
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Input/output library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::ios_base | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| void register_callback( event_callback function, int index );
| ||
Registers a function which will be called on specific events, which are triggered by imbue(), copyfmt() or ~ios_base()
Parameters
| function | - | the function which will be called on event
| ||
| index | - | custom parameter which will be passed to the function |
Return value
(none)
Example
| This section is incomplete |